<?php if (APPLICATION_ENV == "production"): ?>
    <?php
    $daoAdv = new Application_Model_DAO_Adv();
    $adv = $daoAdv->getRandomAdvsByPlace(Application_Model_DAO_Adv::PLACE_TOP, 1);
    ?>
    <?php if (!empty($adv)): ?>
        <div class="row-fluid">
            <div class="span12 adv-top">
                <?= $this->advContent($adv, 998, 174) ?>
            </div>
        </div>
    <?php endif ?>
<?php endif ?>